﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ORS.Web
{
    public partial class Navi_User : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
                if (HttpContext.Current.Session["userid"] != null)
                {
                    String userNam = Session["userid"].ToString();
                    Label1.Text = new ORS.BLL.SearchName().getUsername(userNam);
                    Label5.Text = new ORS.BLL.SearchName().getNoApprovCount(userNam);
                }
                else
                {
                    Response.Redirect("login.aspx");
                }
        }
    }
}